// TODO: site logics

$($ => {
  const $body = $('html, body')

  $('#scroll_top').on('click', () => {
    $body.animate({ scrollTop: 0 }, 600)
    return false
  })
  const arr = [1, 2, 3, 4, 5]
  const maparr = arr.map(item => item * 2)
  console.log(maparr)

  new Promise((resolve, reject) => {
    setTimeout(() => resolve(111), 1000)
  }).then(res => console.log(res))
})
